<template>
<div>
  <shopHeader/>
  <div class="tab">
    <div class="tab-item">
      <router-link to="/shop/goods">点餐</router-link>
      <router-link to="/shop/ratings">评价</router-link>
      <router-link to="/shop/info">商家</router-link>
    </div>
    <router-view></router-view>
  </div>
</div>
</template>

<script>
import shopHeader from "../../components/shopHeader/ShopHeader"
export default {
  name: "Shop",
  components:{
    shopHeader
  },
  mounted() {
    this.$store.dispatch('getShopInfo')
  }
}
</script>

<style scoped>

</style>